home *** CD-ROM | disk | FTP | other *** search
Text File | 1989-04-26 | 1.4 KB | 39 lines | [TEXT/GEOL] |
- Item 1804046 25-April-89 19:16
-
- From: D0420 Satori SW, Hugh Rogovy, PRT
-
- To: MACAPP.TECH$ MACAPP Tech
-
- Sub: 255 chars in TStaticText????
-
- Hi,
-
- I haven't seen a copy of 2.0b9 yet, so could someone who has seen it tell me if
- TStaticText has been "enhanced" to allow for more than 255 characters. It
- would be really nice to have TEditText views in a TDialogView that can contain
- more than 255 characters.
-
- TStaticText.fDataHandle is ready for 32k worth of text, but the
- GetText/SetText/etc. methods were implemented using STRINGHANDLE rather than
- HANDLE. Even the draw methods for TStaticText are capable of drawing 32k
- characters (using TEXTBOX & TEUPDATE)...why is there a 255 character limit???
-
- If 2.0b9 hasn't taken care of the problem, I'll guess I'll be forced to create
- a subclass that can deal with it. It seems silly to add extra code to my app
- just to take care of an overlooked limitation.
-
- If there is a "good" reason for limiting TStaticText or it has been changed in
- 2.0b9, I would appreciate knowing so I don't waste my time trying to
- unsuccessfully reimplement the "limiting" methods (although I'll probably be
- done before this link gets a reply).
-
-
-
- Thanks in advance,
-
-
- Chris Le Croy
- Satori Software
-
-
-